package com.yaorange.ma_util.util;

import cn.hutool.crypto.digest.DigestAlgorithm;
import cn.hutool.crypto.digest.Digester;

public class Md5Util {
    public static String md5(String claims) {
        Digester digester = new Digester(DigestAlgorithm.MD5);
        return digester.digestHex(claims);
    }
}
